<?php
class loader
{
    public function funk($file) {
        require_once("funk/funks/".$file."_funk.php");
    }
	public function file($file, $req=TRUE, $once=TRUE) {
		if ($req and $once){
		require_once($file);
		}elseif($req and $once == FALSE){
		require($file);
		}elseif($req == FALSE and $once == FALSE){
		include($file);
		}elseif($req == FALSE and $once){
		include_once($file);
		}
    }
	     public function display() {
        echo "Loader works!";
    }
}
?>
